<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
    <title>DateExtensionKt </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="dc.created" content="2020-03-25">
    <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../dokka-javadoc-stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
    <script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
    <script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>

    <script type="text/javascript" src="../../../search.js"></script>
    <script async type="text/javascript" src="../../../module-search-index.js"></script>
    <script async type="text/javascript" src="../../../package-search-index.js"></script>
    <script async type="text/javascript" src="../../../type-search-index.js"></script>
    <script async type="text/javascript" src="../../../member-search-index.js"></script>
    <script async type="text/javascript" src="../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../";
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
    <nav role="navigation">
        <div class="fixedNav">
            <!-- ========= START OF TOP NAVBAR ======= -->
            <div class="topNav"><a id="navbar.top">
                <!--   -->
            </a>
                <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
                </div>
                <a id="navbar.top.firstrow">
                    <!--   -->
                </a>
                <ul class="navList" title="Navigation">
    <li><a href="../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li class="navBarCell1Rev">Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
            <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>

<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
        </div>
        <div class="navPadding">&nbsp;</div>
        <script type="text/javascript"><!--
        $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        //-->
        </script>
    </nav>
</header>

<main role="main">
    <div class="header">
        <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
        <h2 title="Class DateExtensionKt" class="title">Class DateExtensionKt</h2>
    </div>
    <div class="contentContainer">
        <!-- <ul class="inheritance">
            <li>java.lang.Object</li>
            <li>
                <ul class="inheritance">
                    <li>adaptation.Adaptation</li>
                </ul>
            </li>
        </ul> TODO inheritance tree -->
        <div class="description">
            <ul class="blockList">
                <li class="blockList">
                    
                    <hr>
                    <pre class="wrap-overflow">

public final class <span class="typeNameLabel"><a href=DateExtensionKt.html>DateExtensionKt</a></span>

                    </pre>
                    <div class="block"></div>
                </li>
            </ul>
        </div>
        <div class="summary">
            <ul class="blockList">
                <li class="blockList">
                <!-- ======== NESTED CLASS SUMMARY ======== -->
                    
                    <!-- =========== FIELD SUMMARY =========== -->
                    
                    <!-- ======== CONSTRUCTOR SUMMARY ======== -->
                    
                    <!-- =========== ENUM CONSTANT SUMMARY =========== -->
                    
                    <!-- ========== METHOD SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.summary">
                                <!--   -->
                            </a>
                                <h3>Method Summary</h3>
                                <div class="memberSummary">
                                    <div role="tablist" aria-orientation="horizontal">
                                        <button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
                                        <!-- TODO: Instance and Concrete Methods #1118 -->
                                    </div>
                                    <div id="memberSummary_tabpanel" role="tabpanel">
                                    <table aria-labelledby="t0">
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Method</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                        <tr id="i0" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#dateTime(Date)>dateTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取时间的日期部分</td>
                                        </tr>
                                        
                                        <tr id="i1" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeYears(Date)>getTimeYears</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取日期的年</td>
                                        </tr>
                                        
                                        <tr id="i2" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeMonths(Date)>getTimeMonths</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取日期的月，从1开始</td>
                                        </tr>
                                        
                                        <tr id="i3" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeDays(Date)>getTimeDays</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取日期的天</td>
                                        </tr>
                                        
                                        <tr id="i4" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeHours(Date)>getTimeHours</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取时间的时</td>
                                        </tr>
                                        
                                        <tr id="i5" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeMinutes(Date)>getTimeMinutes</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取时间的分</td>
                                        </tr>
                                        
                                        <tr id="i6" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeSeconds(Date)>getTimeSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取时间的秒</td>
                                        </tr>
                                        
                                        <tr id="i7" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getTimeMillionSeconds(Date)>getTimeMillionSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取时间的毫秒</td>
                                        </tr>
                                        
                                        <tr id="i8" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addYears(Date,Integer)>addYears</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount年</td>
                                        </tr>
                                        
                                        <tr id="i9" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addMonths(Date,Integer)>addMonths</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount月</td>
                                        </tr>
                                        
                                        <tr id="i10" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addDays(Date,Integer)>addDays</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount日</td>
                                        </tr>
                                        
                                        <tr id="i11" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addHours(Date,Integer)>addHours</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount小时</td>
                                        </tr>
                                        
                                        <tr id="i12" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addMinutes(Date,Integer)>addMinutes</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount分</td>
                                        </tr>
                                        
                                        <tr id="i13" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addSeconds(Date,Integer)>addSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount秒</td>
                                        </tr>
                                        
                                        <tr id="i14" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#addMillionSeconds(Date,Integer)>addMillionSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount) </code>
                                            </th>
                                            <td class="colLast">增加/减少amount毫秒</td>
                                        </tr>
                                        
                                        <tr id="i15" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>String</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#format(Date,String)>format</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>String</a> format) </code>
                                            </th>
                                            <td class="colLast">格式化时间</td>
                                        </tr>
                                        
                                        <tr id="i16" class="altColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html>Long</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#startTime(Date)>startTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取开始时间</td>
                                        </tr>
                                        
                                        <tr id="i17" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html>Long</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#endTime(Date)>endTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self) </code>
                                            </th>
                                            <td class="colLast">获取结束时间</td>
                                        </tr>
                                        
                                        <tr id="i18" class="altColor">
                                            <td class="colFirst"><code>final static <a href=../models/extension/TimeSpan.html>TimeSpan</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#minus(Date,Date)>minus</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> date) </code>
                                            </th>
                                            <td class="colLast">两个时间类型相减的差值，精度为毫秒</td>
                                        </tr>
                                        
                                        <tr id="i19" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#getDate(Integer,Integer,Integer,Integer,Integer,Integer,Integer)>getDate</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> year, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> month, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> day, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> hour, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> minute, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> second, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> millisecond) </code>
                                            </th>
                                            <td class="colLast">根据年月日等信息获取日期</td>
                                        </tr>
                                        
                                        <tr id="i20" class="altColor">
                                            <td class="colFirst"><code>final static <a href=../models/extension/DateRange.html>DateRange</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#rangeTo(Date,Date)>rangeTo</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target) </code>
                                            </th>
                                            <td class="colLast">从当前日期到目标日期的每天日期，闭区间</td>
                                        </tr>
                                        
                                        <tr id="i21" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=../models/extension/DateRange.html>DateRange</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#downTo(Date,Date)>downTo</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target) </code>
                                            </th>
                                            <td class="colLast">从当前日期到目标日期的每天倒数日期，闭区间</td>
                                        </tr>
                                        
                                        <tr id="i22" class="altColor">
                                            <td class="colFirst"><code>final static <a href=../models/extension/DateRange.html>DateRange</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#until(Date,Date)>until</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target) </code>
                                            </th>
                                            <td class="colLast">从当前日期到目标日期的每天日期，左开右闭区间</td>
                                        </tr>
                                        
                                        <tr id="i23" class="rowColor">
                                            <td class="colFirst"><code>final static <a href=../models/extension/DateRange.html>DateRange</a></code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=DateExtensionKt.html#downToUntil(Date,Date)>downToUntil</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target) </code>
                                            </th>
                                            <td class="colLast">从当前日期到目标日期的每天倒数日期，左开右闭区间</td>
                                        </tr>
                                        
                                        </tbody>
                                    </table>
                                </div>
                                <ul class="blockList">
                                
                                    <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
                                        <!--   -->
                                    </a>
                                        <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
                                        <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
                                            wait, wait, wait</code></li>
                                </ul>
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
        <div class="details">
            <ul class="blockList">
                <li class="blockList">
                    <!-- ========= CONSTRUCTOR DETAIL ======== -->
                    
                    <!-- ============ METHOD DETAIL ========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.detail">
                                <!--   -->
                            </a>
                                <h3>Method Detail</h3>
                                
                                <a id="dateTime(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>dateTime</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#dateTime(Date)>dateTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取时间的日期部分</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeYears(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeYears</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeYears(Date)>getTimeYears</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取日期的年</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeMonths(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeMonths</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeMonths(Date)>getTimeMonths</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取日期的月，从1开始</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeDays(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeDays</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeDays(Date)>getTimeDays</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取日期的天</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeHours(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeHours</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeHours(Date)>getTimeHours</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取时间的时</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeMinutes(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeMinutes</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeMinutes(Date)>getTimeMinutes</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取时间的分</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeSeconds(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeSeconds</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeSeconds(Date)>getTimeSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取时间的秒</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getTimeMillionSeconds(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getTimeMillionSeconds</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> <a href=DateExtensionKt.html#getTimeMillionSeconds(Date)>getTimeMillionSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取时间的毫秒</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addYears(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addYears</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addYears(Date,Integer)>addYears</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount年</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addMonths(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addMonths</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addMonths(Date,Integer)>addMonths</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount月</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addDays(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addDays</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addDays(Date,Integer)>addDays</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount日</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addHours(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addHours</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addHours(Date,Integer)>addHours</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount小时</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addMinutes(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addMinutes</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addMinutes(Date,Integer)>addMinutes</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount分</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addSeconds(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addSeconds</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addSeconds(Date,Integer)>addSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount秒</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addMillionSeconds(Date,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addMillionSeconds</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#addMillionSeconds(Date,Integer)>addMillionSeconds</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> amount)</pre>
                                        <div class="block"><p>增加/减少amount毫秒</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>amount</code> - 增加/减少的数量</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="format(Date,String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>format</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>String</a> <a href=DateExtensionKt.html#format(Date,String)>format</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>String</a> format)</pre>
                                        <div class="block"><p>格式化时间</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>format</code> - 格式化的格式</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="startTime(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>startTime</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html>Long</a> <a href=DateExtensionKt.html#startTime(Date)>startTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取开始时间</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="endTime(Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>endTime</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html>Long</a> <a href=DateExtensionKt.html#endTime(Date)>endTime</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self)</pre>
                                        <div class="block"><p>获取结束时间</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="minus(Date,Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>minus</h4>
                                        <pre class="methodSignature"> final static <a href=../models/extension/TimeSpan.html>TimeSpan</a> <a href=DateExtensionKt.html#minus(Date,Date)>minus</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> date)</pre>
                                        <div class="block"><p>两个时间类型相减的差值，精度为毫秒</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>date</code> - 与目标日期之间的差值</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getDate(Integer,Integer,Integer,Integer,Integer,Integer,Integer)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getDate</h4>
                                        <pre class="methodSignature"> final static <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> <a href=DateExtensionKt.html#getDate(Integer,Integer,Integer,Integer,Integer,Integer,Integer)>getDate</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> year, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> month, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> day, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> hour, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> minute, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> second, <a href=https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>Integer</a> millisecond)</pre>
                                        <div class="block"><p>根据年月日等信息获取日期</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>year</code> - 年</dd>
                                            
                                            
                                            
                                            <dd><code>month</code> - 月</dd>
                                            
                                            
                                            
                                            <dd><code>day</code> - 日</dd>
                                            
                                            
                                            
                                            <dd><code>hour</code> - 时</dd>
                                            
                                            
                                            
                                            <dd><code>minute</code> - 分</dd>
                                            
                                            
                                            
                                            <dd><code>second</code> - 秒</dd>
                                            
                                            
                                            
                                            <dd><code>millisecond</code> - 毫秒</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="rangeTo(Date,Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>rangeTo</h4>
                                        <pre class="methodSignature"> final static <a href=../models/extension/DateRange.html>DateRange</a> <a href=DateExtensionKt.html#rangeTo(Date,Date)>rangeTo</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target)</pre>
                                        <div class="block"><p>从当前日期到目标日期的每天日期，闭区间</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>target</code> - 目标日期</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="downTo(Date,Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>downTo</h4>
                                        <pre class="methodSignature"> final static <a href=../models/extension/DateRange.html>DateRange</a> <a href=DateExtensionKt.html#downTo(Date,Date)>downTo</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target)</pre>
                                        <div class="block"><p>从当前日期到目标日期的每天倒数日期，闭区间</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>target</code> - 目标日期</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="until(Date,Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>until</h4>
                                        <pre class="methodSignature"> final static <a href=../models/extension/DateRange.html>DateRange</a> <a href=DateExtensionKt.html#until(Date,Date)>until</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target)</pre>
                                        <div class="block"><p>从当前日期到目标日期的每天日期，左开右闭区间</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>target</code> - 目标日期</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="downToUntil(Date,Date)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockListLast"
                                          >
                                    <li class="blockList">
                                        <h4>downToUntil</h4>
                                        <pre class="methodSignature"> final static <a href=../models/extension/DateRange.html>DateRange</a> <a href=DateExtensionKt.html#downToUntil(Date,Date)>downToUntil</a>(<a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> $self, <a href=https://docs.oracle.com/javase/8/docs/api/java/util/Date.html>Date</a> target)</pre>
                                        <div class="block"><p>从当前日期到目标日期的每天倒数日期，左开右闭区间</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            
                                            
                                            <dd><code>target</code> - 目标日期</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
    </div>
</main>
<footer role="contentinfo">
    <nav role="navigation">
        <!-- ======= START OF BOTTOM NAVBAR ====== -->
        <div class="bottomNav"><a id="navbar.bottom">
            <!--   -->
        </a>
            <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
            </div>
            <a id="navbar.bottom.firstrow">
                <!--   -->
            </a>
            <ul class="navList" title="Navigation">
    <li><a href="../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li class="navBarCell1Rev">Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
        <a id="skip.navbar.bottom">
            <!--   -->
        </a>
        <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
    </nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
    style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>
